package com.jl15988.simpletools.appcore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jl15988.simpletools.appcore.entity.Screenshot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 截图Mapper接口
 *
 * @author jl15988
 */
@Mapper
public interface ScreenshotMapper extends BaseMapper<Screenshot> {

    /**
     * 根据应用ID删除截图
     *
     * @param appId 应用ID
     * @return 影响行数
     */
    int deleteByAppId(@Param("appId") Long appId);
} 